package com.xiaoyao.novel.pojo;

import java.util.List;

import com.xiaoyao.novel.util.FileUtil;
import com.xiaoyao.novel.util.HtmlStatic;

public class Category {
	public  String listPath =  FileUtil.listPath;
	public int cateId;
	public String cateName;
	public String cateNameOld;
	public int showOrder;
	public String html;
	
	List<Book> bookList;

	public int getCateId() {
		return cateId;
	}

	public void setCateId(int cateId) {
		this.cateId = cateId;
	}

	public List<Book> getBookList() {
		return bookList;
	}

	public void setBookList(List<Book> bookList) {
		this.bookList = bookList;
	}

	public String getCateName() {
		return cateName;
	}

	public void setCateName(String cateName) {
		this.cateName = cateName;
	}
public String getListPath() {
	return listPath;
}
	public int getShowOrder() {
		return showOrder;
	}

	public void setShowOrder(int showOrder) {
		this.showOrder = showOrder;
	}

	public String getHtml() {
		return HtmlStatic.encodeCategory(cateId);
	}

	public void setHtml(String html) {
		this.html = html;
	}

	public String getCateNameOld() {
		return cateNameOld;
	}

	public void setCateNameOld(String cateNameOld) {
		this.cateNameOld = cateNameOld;
	}


}
